network-programming

Linux version of Windows "nonpaged pool" does such a thing exist?

I have been working with an Windows application which reads from the 'nonpaged pool' to increase performance. In this case the nonpaged pool is the area of memory where the network drivers write data as they grab it off the wire. How does Linux handle memory which network drivers (or other drivers) which require high speed exclusive ac...

join/leave multicast group using libpcap

Hello, I need to receive a multicast stream but filter incoming packets by source MAC address on CentOS 5.5. I'm planning to use libpcap library. Is it possible to join/leave multicast group using libpcap? If yes, how to do that? Thanks ...

How to get IP all hosts in LAN

Hello I need list IP addresses of all connected hosts in my LAN. What is the simpliest way to do this? ...

Socket.select not returning readable sockets in c#

I'm building a server that serves two clients using streamreaders/writers (using networkstreams), using newline symbols to indicate the start/end of a new command. Because readline (and writeline too, but that's not an issue), will block until there actually is a line to read, I use socket.select in order to determine when there is a li...

simulate tcp tahoe with two packet loss using ns2(i.e. network simulator 2) using tcl language

how can i simulate tcp tahoe with two packet loss using ns2(i.e. network simulator 2) using tcl language. ...

NSDistantObject Protocol for iphone

I've been reading through the docs on how the NSDistantObject class and I can see that it is more or less a binary protocol for sending objects from one NSPort to another. What I'm curious about is the possibility of using this in an iPhone application to share data. Is it possible to have two applications talking to each other on distin...

Network Service Exception

Hi all, I want to describe DHCP failing in a network. What would you call it? Marns Magnusson has developed the 'Network Service Exception'? ...

Getting started with client-server networking

I'm a good programmer, but I have zero network experience. Basically, I'd like to get into client-server networking. For example, I'd like to try getting a server process going which allows clients to connect over the internet and send pings to all of the other connected clients. Then maybe I'll try developing a simple chat client, or s...

Windows filtering platform (WFP), and ip forward

Hi, my problem is this, I have a pc (windows 2008 server) that is the gateway, well with wfp I'd like to get all packed addressed to port 80 from other pc and switch to port 8080 where a proxy is hearing... well I have already installed WDK and C++ Express can you give me some help or link or book, the only think I've found is this ...

Does OSX support poll()?

I have just been reading the section on the poll() function in "Advanced Unix Programming" second edition by Marc Rochkind. In this section, the author mentions that poll() is not supported under Darwin 6.6 and I have seen other items on the internet that suggests that poll() is emulated on OSX using the select() system call. I am want...

bluetooth connection in vc#.net

I want to create an Bluetooth chat room for pc i will use visual studio 2005 as the front end i just want to know how do i connect one system to another system with each other and send data or message using an Bluetooth in vc#.net software like intranet chatting use's LAN as connection medium traditional way to connect to one system ...

How to implement a PPPoe server ?

I want to develop one PPPoe-like server, so I can create a virtual connecting among server and client. Is there any opensource project for reference ? Thanks ...

Are there any good APIs for maintaining an open connection between Flash <--> Java

I have a flash app which will send/receive a constant stream of data. the flash app should open a connection to the Java server, keep it open, and attempt to reconnect on socket failure. Are there any good APIs that offer this functionality? Smartfox Server is one option, but if I had my way I'd embed an API in my app rather than cont...

Network Programming Low Level or Class Abstraction?

I see a lot of questions on the topic of network programming. Despite all the questions and answers I just do not know which way is best to start. Is it better to start from the lowest level, or immediately to work in .NET C #, without going into details below abstraction? Is it better to go with Winsock or BSD Socket programming in Linu...