Posts Tagged ‘socket’
ddp – Linux AppleTalk protocol implementation
USAGE
#include <sys/socket.h>
#include <netatalk/at.h>
ddp_socket = socket(PF_APPLETALK, SOCK_DGRAM, 0);
raw_socket = socket(PF_APPLETALK, SOCK_RAW, protocol);
DESCRIPTION
Linux implements the Appletalk protocols [...]
open, creat – open and possibly create a file or device
USAGE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *pathname, int flags);
int open(const [...]
connect – initiate a connection on a socket
USAGE
#include <sys/types.h>
#include <sys/socket.h>
int connect(int sockfd, const struct sockaddr *serv_addr, socklen_t
addrlen);
DESCRIPTION
[...]
