AXCEL C++ Framework
Elegance through abstraction
Classes
axcel::net::socket Namespace Reference

Internet sockets. More...

Classes

class  tcp
 Transmission Control Protocol socket. More...
class  udp
 User Datagram Protocol socket. More...

Detailed Description

Internet sockets.

A socket is an endpoint for communication of computers across a network. In the case of TCP sockets, one can either listen for a connection or connect to a listening socket accross a network by an IP address or hostname. TCP sockets can then be read from or written to like a file for communication. UDP sockets are connection-less and communicate by sending and retrieving "datagrams". Unlike TCP, UDP datagrams are not gauranteed to arrive at the destination in order. On the plus side though, UDP is more lightweight since no stream-like connection has to be tracked in the data overhead of each packet.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines