Top "Network-programming" questions

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

What are SO_SNDBUF and SO_RCVBUF

Can you explain me what exactly are SO_SNDBUF and SO_RCVBUF options? OK, for some reason the OS buffers …

windows sockets network-programming
how to make Multiplayer Game

I already knew the basic of android programming, especially the one at game. now I want to try multiplayer game. …

android network-programming multiplayer
Why is bind() used in TCP? Why is it used only on server side and not in client side?

I wanted to know the exact function of bind() in TCP. What does it mean by 'binding' a local address …

sockets networking tcp network-programming bind
Proper use of beginBackgroundTaskWithExpirationHandler

I'm a bit confused about how and when to use beginBackgroundTaskWithExpirationHandler. Apple shows in their examples to use it in …

ios objective-c network-programming multitasking background-thread
How to measure server response time for Python requests POST-request?

I create requests POST-requests like this, where I specify timeout threshold: response = requests.post(url, data=post_fields, timeout=timeout) …

python python-3.x server network-programming python-requests
What is a simple way to implement a websocket client in Android? Is the following example correct?

I was trying to use a class that implements a WebSocket client in Android. But I get the following error: 12…

android websocket network-programming java-websocket
What is the optimal size of a UDP packet for maximum throughput?

I need to send packets from one host to another over a potentially lossy network. In order to minimize packet …

c++ windows linux network-programming udp
How can a web server handle multiple user's incoming requests at a time on a single port (80)?

How does a web server handle multiple incoming requests at the same time on a single port(80)? Example : At the …

networking web-applications web tcp network-programming
What is SOL_SOCKET used for?

As it is stated in the Linux man page Use this constant as the level argument to getsockopt or setsockopt …

c sockets network-programming
PID exists in netstat but does not exist in task manager

I have discovered a running process with PID 26376 listening on port 9001 and 9002 as when I try to run my program(…

windows service network-programming