Tutorial by Topics: networking

See also: HTTP Clients
new Socket("localhost", 1234); //Connects to a server at address "localhost" and port 1234 new SocketServer("localhost", 1234); //Creates a socket server that can listen for new sockets at address localhost and port 1234 socketServer.accept(); //Accepts a new Socket...
(Very) basic Python client socket example
TcpClient(string host, int port); You can get the NetworkStream from a TcpClient with client.GetStream() and pass it into a StreamReader/StreamWriter to gain access to their async read and write methods.
SelectionKey defines the different selectable operations and information between its Selector and Channel. In particular, the attachment can be used to store connection-related information. Handling OP_READ is pretty straight-forward. However, care should be taken when dealing with OP_WRITE: most...
This section provides an overview of what afnetworking is, and why a developer might want to use it. It should also mention any large subjects within afnetworking, and link out to the related topics. Since the Documentation for afnetworking is new, you may need to create initial versions of thos...
Headless mode in Unity If you are building a Server to deploy in Linux, the Build settings have a "Headless mode" option. An application build with this option doesn't display anything and doesn't read user input, which is usually what we want for a Server.
This section provides an overview of what networking is, and why a developer might want to use it. It should also mention any large subjects within networking, and link out to the related topics. Since the Documentation for networking is new, you may need to create initial versions of those rela...
Bash is often commonly used in the management and maintenance of servers and clusters. Information pertaining to typical commands used by network operations, when to use which command for which purpose, and examples/samples of unique and/or interesting applications of it should be included

Page 1 of 1