EmbLogic's Blog

Server rcs ( UDP, AF_UNIX)

1
2 RCS file: server.c,v
3 Working file: server.c
4 head: 1.2
5 branch:
6 locks: strict
7 root: 1.2
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 2; selected revisions: 2
12 description:
13 implemented sockets for datagram under af_unix domain.
14 Works ok, but I have some queries.
15 Queries :
16 If more than one request come, then server’s sendto call returns bad file descriptor with each request it servers, but th e messages are exchanged properly
17 The server socket fd and the client socket fd are same, how come ?
18 —————————-
19 revision 1.2 locked by: root;
20 date: 2014/08/25 05:42:35; author: root; state: Exp; lines: +0 -6
21 Server successfully serves more than 1 client, but not simultaneoulsy, needs multithreading
22 —————————-
23 revision 1.1
24 date: 2014/08/22 20:27:03; author: root; state: Exp;
25 Initial revision
26 =============================================================================
~
~
~
~
~
~
~
1 line less; before #1 2 seconds ago 1,0-1 All

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>