¡@

Home 

c++ Programming Glossary: sockets

Get the IP Address of local computer

http://stackoverflow.com/questions/122208/get-the-ip-address-of-local-computer

to Brian R. Bondy for the info about the subnet mask. c sockets networking share improve this question If you use winsock..

How to support both IPv4 and IPv6 connections

http://stackoverflow.com/questions/1618240/how-to-support-both-ipv4-and-ipv6-connections

could point out any differences between Winsock and BSD sockets. Thanks in advance c winsock ipv6 bsd sockets ipv4 share.. and BSD sockets. Thanks in advance c winsock ipv6 bsd sockets ipv4 share improve this question The best approach is to.. is turned off by default on Linux i.e. allowing dual stack sockets without setsockopt and is turned on on most other systems. In..

Send and Receive a file in socket programming in Linux with C/C++ (GCC/G++)

http://stackoverflow.com/questions/2014033/send-and-receive-a-file-in-socket-programming-in-linux-with-c-c-gcc-g

server to send and receive files. How do I do that using sockets programming on Linux using C C Is there a library that would.. the file and send the segments individually. c c linux sockets network programming share improve this question The most..

Detecting TCP Client Disconnect

http://stackoverflow.com/questions/283375/detecting-tcp-client-disconnect

what if it DCs manually How can I tell or handle this c sockets tcp share improve this question select with the read mask..

C++ Winsock P2P

http://stackoverflow.com/questions/2843277/c-winsock-p2p

my knoweldge. c winsock p2p distributed computing winsockets share improve this question Since I don't know what information.. there are anything you need to respond to on any of your sockets. This is done with the FD_xxx functions. receiving data fd_set.. fd_set mySet FD_ZERO mySet FD_SET s mySet loop all your sockets and add to the mySet like the call above timeval zero 0 0 int..

How to set a timeout on blocking sockets in boost asio?

http://stackoverflow.com/questions/291871/how-to-set-a-timeout-on-blocking-sockets-in-boost-asio

to set a timeout on blocking sockets in boost asio Is there a way to cancel a pending operation.. but I want to throw an error if 10 seconds have passed. c sockets boost boost asio share improve this question Under Linux.. Under Linux BSD the timeout on I O operations on sockets is directly supported by the operating system. The option can..

Is there a replacement for unistd.h for Windows (Visual C)?

http://stackoverflow.com/questions/341817/is-there-a-replacement-for-unistd-h-for-windows-visual-c

specific versions for Windows they probably don't work for sockets. You need to look at your app and consider whether to call e.g...

“Proper” way to store binary data with C++/STL

http://stackoverflow.com/questions/441203/proper-way-to-store-binary-data-with-c-stl

you can use it with a lot of C API's such as berkley sockets or file APIs. You can do the following for example std vector..

How does does ifstream eof() work?

http://stackoverflow.com/questions/4533063/how-does-does-ifstream-eof-work

is attempted on some devices such as pipes and network sockets. The second example works as inf foo will always return inf..

How do you serialize an object in C++?

http://stackoverflow.com/questions/523872/how-do-you-serialize-an-object-in-c

the serialized data over the net I'd either use Berkeley sockets or the asio library . Edit If you want to serialize your objects..

Some clarification needed about synchronous versus asynchronous asio operations

http://stackoverflow.com/questions/5282659/some-clarification-needed-about-synchronous-versus-asynchronous-asio-operations

when dealing with limited resources such as memory threads sockets etc. Using a thread per connection for ~2 million simultaneous..

What modern C++ libraries should be in my toolbox? [closed]

http://stackoverflow.com/questions/777764/what-modern-c-libraries-should-be-in-my-toolbox

purpose e.g. Boost Loki STL Threading Testing Network sockets I looking to be cross platform compatible as much as possible..

Passing data between C++ (MFC) app and C#

http://stackoverflow.com/questions/184777/passing-data-between-c-mfc-app-and-c-sharp

Memory Mapping Named Pipes or something like Windows Sockets. At this stage we are leaning towards Named Pipes but would..

How to write a GUI for a large cross-platform C++ project?

http://stackoverflow.com/questions/2191684/how-to-write-a-gui-for-a-large-cross-platform-c-project

option What are other possibilities ...but not that much. Sockets would be overkill exception see question 5 . Usually you split..

fastest (low latency) method for Inter Process Communication between Java and C/C++

http://stackoverflow.com/questions/2635272/fastest-low-latency-method-for-inter-process-communication-between-java-and-c

message is around 300 bytes long. Currently we're using Sockets and all is OK however I'm looking for a faster way to exchange.. comment answers I got here I found info about Unix Domain Sockets which seem to be built just over pipes and would save me the..

Socket Exception: “There are no more endpoints available from the endpoint mapper”

http://stackoverflow.com/questions/272523/socket-exception-there-are-no-more-endpoints-available-from-the-endpoint-mappe

question On a very busy server you may be running out of Sockets. You may have to adjust some TCPIP parameters. Adjust these..

How to fetch HTML in C/C++ [closed]

http://stackoverflow.com/questions/400802/how-to-fetch-html-in-c-c

fetch HTML in C C closed How to fetch HTML in C or C with Sockets. Can you give me a Example code pls NOTE I originally closed..

any good and simple RPC library for inter-process calls? [closed]

http://stackoverflow.com/questions/5398673/any-good-and-simple-rpc-library-for-inter-process-calls

this simple task because doesn't provide RPC interface. Sockets are probably an overkill too because I don't need to communicate..

BSD Sockets - How to use non-blocking sockets?

http://stackoverflow.com/questions/6699488/bsd-sockets-how-to-use-non-blocking-sockets

Sockets How to use non blocking sockets I am trying to use non blocking..

Simple IPC between C++ and Python (cross platform)

http://stackoverflow.com/questions/6915191/simple-ipc-between-c-and-python-cross-platform

for rpc such as named pipes on Windows and Unix Domain Sockets on unix then you should look at Boost ASIO . However unless..

How to set the don't fragment (DF) flag on a socket?

http://stackoverflow.com/questions/973439/how-to-set-the-dont-fragment-df-flag-on-a-socket

Steven's book Volume 1 Unix Network Programming The Sockets Networking API I am unable to find how to set this. I suspect..