jadesocket.h

/**
 * Jade Cheng
 * ICS 451
 * Assignment 1
 */

#ifndef __jadesocket_h__
#define __jadesocket_h__

typedef int (* JS_ACCEPT_ALL_PROC)(int);

extern int js_accept_all(JS_ACCEPT_ALL_PROC fn, short port, int backlog);

extern int js_send(int s, const void * buffer, int count);

#endif // __jadesocket_h__
Valid HTML 4.01 Valid CSS