version 1.7, 2009/07/25 08:44:27 |
version 1.8, 2009/07/25 10:52:19 |
|
|
#ifndef SOCK_H |
#ifndef SOCK_H |
#define SOCK_H |
#define SOCK_H |
|
|
#include "pipe.h" |
|
#include "aparams.h" |
|
#include "amsg.h" |
#include "amsg.h" |
|
#include "aparams.h" |
|
#include "pipe.h" |
|
|
struct opt; |
struct opt; |
|
|
struct sock { |
struct sock { |
struct pipe pipe; |
struct pipe pipe; |
/* |
/* |
* socket and protocol specific stuff, mainly used |
* Socket and protocol specific stuff, mainly used |
* to decode/encode messages in the stream. |
* to decode/encode messages in the stream. |
*/ |
*/ |
struct amsg rmsg, wmsg; /* messages being sent/received */ |
struct amsg rmsg, wmsg; /* messages being sent/received */ |