]> rtime.felk.cvut.cz Git - frescor/forb.git/commit
Inet protocol sends HELLO as the first message after connect()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 May 2009 21:34:29 +0000 (23:34 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 May 2009 21:34:29 +0000 (23:34 +0200)
commitfe5aff627bf66d39c8f2bfdbeacf4dce17c0db7f
tree4c802705e480b5303d1ab6d63585bcff2f5cd10d
parentd3ce23c73b870496b2ea388f9c83abc6e7bb4688
Inet protocol sends HELLO as the first message after connect()

This allows the receiver to know sender's listening address, which is different
from the address of the connect()ed socket. Besides the address, also orb_id is
sent, which makes debugging easier.

It this approach is found successful, this functionality should be moved to
iop.c and protocols should have new connect callback which will be called by iop
if the peer was never contacted.
src/Makefile.omk
src/iop.c
src/iop.h
src/proto_inet.c