“server” socket, which is more like a switchboard operator. So first, let’s make aĭistinction between a “client” socket - an endpoint of a conversation, and a Number of subtly different things, depending on context. Part of the trouble with understanding these things is that “socket” can mean a You’ll need to know how they work before dealing with But I’ll start by talking aboutīlocking sockets. Work with blocking and non-blocking sockets. Try to clear up the mystery of what a socket is, as well as some hints on how to Know what you’re doing (in which case this HOWTO isn’t for you!), you’ll getīetter behavior and performance from a STREAM socket than anything else.
IPv4) sockets, but they account for at least 99% of
I hope it will give you enough background to begin using them decently. It doesn’t cover the fine points (and there are a lot of them), but It’s not really a tutorial - you’ll still have work to do in getting things This is a 10,000 foot overview of sockets. Sockets are used nearly everywhere, but are one of the most severely