Commit Graph
14 Commits
Author SHA1 Message Date
Fred Nicolson 91921867fa Updated send/receive documentation. Updated readme. 2016-12-11 20:54:31 +00:00
Fred Nicolson 27a88febfa Added ability to toggle socket blocking mode 2016-12-11 20:45:13 +00:00
Fred Nicolson 6d33e938b6 Added optional timeout to fr::SocketSelector::wait
'Wait' will return true if a socket has received data, false if the duration has expired.
2016-12-11 19:55:33 +00:00
Fred Nicolson 3b890972d1 Fixed 'host' HTTP header not being sent 2016-12-11 15:14:23 +00:00
Fred Nicolson 98897dec02 Cleaned up HTTP socket/request code. 2016-12-11 12:14:47 +00:00
Fred Nicolson fdee42e300 Added ability to both send AND receive HTTP requests and responses. 2016-12-10 16:50:02 +00:00
Fred Nicolson 7aced77a00 Added support for sending and receiving HTTP requests.
Added 'HttpSocket', which inherits TcpSocket and adds a receive and send functions for WebRequest objects.

WebRequest objects can be used to parse, construct and extract HTTP requests. They can be sent through HttpSocket's.
2016-12-10 15:11:01 +00:00
Fred Nicolson a3eb2ccd0a Added raw send and receive. Fixed TcpSocket close bug.
Can now send and receive raw data over TcpSockets for communicating with other protocols, such as HTTP.

Fixed TcpSocket::close only calling close() if the connection isn't open (gg wp)
2016-12-10 12:59:07 +00:00
Fred Nicolson a9493fca2a Added documentation for SocketSelector. 2016-12-10 10:34:30 +00:00
Fred Nicolson b581418f2e Added support for blocking on multiple sockets simultaneously 2016-12-09 23:52:16 +00:00
Fred Nicolson 9cbe2aa8e8 Fixed some dumb bugs. Think I may have been asleep for last push. 2016-12-09 22:04:37 +00:00
Cloaked9000 d36a98b9b2 Send/Receive works on TcpSocket now 2016-12-09 16:55:53 +00:00
Fred Nicolson 533412d3d0 Work on TcpListener and TcpSocket. 2016-12-08 23:01:01 +00:00
Fred Nicolson 4f9502df23 Pushed code across 2016-12-06 23:07:54 +00:00