openMSX
Namespaces | Typedefs | Functions
Socket.hh File Reference
#include <string>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for Socket.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 openmsx
 Thanks to enen for testing this on a real cartridge:
 

Typedefs

using openmsx::SOCKET = int
 

Functions

std::string openmsx::sock_error ()
 
void openmsx::sock_startup ()
 
void openmsx::sock_cleanup ()
 
void openmsx::sock_close (SOCKET sd)
 
int openmsx::sock_recv (SOCKET sd, char *buf, size_t count)
 
int openmsx::sock_send (SOCKET sd, const char *buf, size_t count)