socket_in.h 548 Bytes
#ifndef SCOT_SOCKET_IN_H
#define SCOT_SOCKET_IN_H

extern const char * scot_socket_errmsg[];


struct scot_socket * scot_socket_in_new      (const char*, const char*);
struct scot_socket * scot_socket_in_accept   (const struct scot_socket*);
void                 scot_socket_in_prep_con (const struct scot_socket *, 
                                              const char *);

const char * scot_socket_in_get_host         (struct scot_socket *);
const char * scot_socket_in_get_ddc          (struct scot_socket *);

#endif /* SCOT_SOCKET_IN_H */