Re: Tying UDP socket to stdin, stdout
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Mon, 15 Oct 2007 21:25:58 -0400
In article <1192464353.360706.282120@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
jdthebigj@xxxxxxxxx wrote:
On Oct 15, 7:32 am, Spoon <root@localhost> wrote:
jdthebigj wrote:
I am research student working in a network security lab. I have to
build a pseudo-telnet based on UDP for obtaining my results. So
unfortunately, I cannot take help of TCP. Can you give me some tips
for this to work with UDP?
Netcat might prove helpful.
http://sectools.org/#netcathttp://netcat.sourceforge.net/
Netcat seems to be cool but It won't be useful to me. My algorithm is
based on the inter packet delays and buffering of packets and I need
to have control over the packet sending and receiving part of the
code. With netcat, the utility handles everything so I don't thnk I
willl be able to use it. I need socket programming code for tis to
work.
This seems to be getting more and more confusing. You started by asking
how to connect the UDP socket to stdin and stdout. This suggests that
you'll be running generic applications that read and write the standard
streams. But now you say that the application will be doing things that
are dependent on the packet details. Why does this application, which
must be specially designed as part of this project, require that the
socket be connected to stdin/stdout?
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- References:
- Tying UDP socket to stdin, stdout
- From: jdthebigj
- Re: Tying UDP socket to stdin, stdout
- From: Barry Margolin
- Re: Tying UDP socket to stdin, stdout
- From: fjblurt
- Re: Tying UDP socket to stdin, stdout
- From: jdthebigj
- Re: Tying UDP socket to stdin, stdout
- From: Spoon
- Re: Tying UDP socket to stdin, stdout
- From: jdthebigj
- Tying UDP socket to stdin, stdout
- Prev by Date: Re: Tying UDP socket to stdin, stdout
- Next by Date: Re: non-threaded accept
- Previous by thread: Re: Tying UDP socket to stdin, stdout
- Next by thread: Re: Tying UDP socket to stdin, stdout
- Index(es):
Relevant Pages
|