Top "Network-programming" questions

Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

boost::asio cleanly disconnecting

Sometimes boost::asio seems to disconnect before I want it to, i.e. before the server properly handles the disconnect. …

c++ sockets tcp network-programming boost-asio
How to put NIC into promiscuous mode?

Hi I want to put my NIC into promiscuous mode. Why? Because I wrote app which is able potentially to …

security windows-7 networking network-programming sniffing
What's the difference between pipes and sockets?

I found a couple of answers, but they seem to be specifically relating to Windows machines. So my question is …

networking tcp network-programming
How send raw ethernet packet with C#?

Is there a way to send raw packet Ethernet to other host via C#? In Windows 7 if it makes difference.

c# .net windows-7 network-programming raw-ethernet
FTP client server model for file transfer in Java

Well, I am trying to implement the ftp server and ftp client in Java. I am trying to receive a …

java network-programming file-transfer ftp-client ftp-server
Application control of TCP retransmission on Linux

For the impatient: How to change the value of /proc/sys/net/ipv4/tcp_retries2 for a single connection in …

linux tcp network-programming
How to copy a file from a network share to local disk with variables?

If I use the following line: shutil.copyfile(r"\\mynetworkshare\myfile.txt","C:\TEMP\myfile.txt") everything works fine. However, …

python network-programming share
what is stub on the "server" and what does skeleton mean?

What does stub do on the server side ? And what is a skeleton ? This is a diagram from wikipedia. I …

java networking network-programming rmi
Can read() function on a connected socket return zero bytes?

I know that read() is a blocking call unless I make the socket non-blocking. So I expect read() call which …

linux sockets tcp network-programming runtime-error
A socket operation was attempted to an unreachable host

One customer reported this error at my WCF client connecting to our server service. "Message: A socket operation was attempted …

.net wcf networking network-programming wcf-client