Home > Archive > Unix Programming > November 2004 > steaming events to one socket
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
steaming events to one socket
|
|
|
| Hello,
I am looking into consolidating (multiplexing?) events from HP OV and
BMC to one socket. The idea being that you can monitor this socket,
parse it and extract whatever info you like from this socket.
Although i have quite some experience with C and perl, I dont know to
do this.
If possible id like to do this in perl first for quick n easy coding,
and then C for speed.
Any hints on how to do this, or links to fine manuals - greatly
appreciated.
TIA
Tony
| |
| Robert Harris 2004-11-23, 3:58 pm |
| tony wrote:
> Hello,
>
> I am looking into consolidating (multiplexing?) events from HP OV and
> BMC to one socket. The idea being that you can monitor this socket,
> parse it and extract whatever info you like from this socket.
> Although i have quite some experience with C and perl, I dont know to
> do this.
> If possible id like to do this in perl first for quick n easy coding,
> and then C for speed.
> Any hints on how to do this, or links to fine manuals - greatly
> appreciated.
You need select(2) or poll(2) which will enable you to monitor more than
one socket.
Robert
>
> TIA
>
>
> Tony
|
|
|
|
|