471,328 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Help needed

Hi mate

i need o do a python program to connect 2 systems using TCP/IP and
UDP. Also i need to check the performance of these two protocols (how
many bytes received and how much time took). I havent worked in python
earlier and have no idea of this. Could someone pls help me. I created
a program which can connect between 2 systems using these UDP and TCP/
IP protocols. I dont know how to check the rest like how many bytes
send or how much time taken
since this is part of my course work could someone please help me
thanks in advance.

tijo
Jan 11 '08 #1
5 836
Sorry to diverge from the topic, but is there a reason you need to
develop something like again? I would assume that there would be
numerous utilities that would do this for you.

If you want these features in your applications, why don't you
consider incorporating existing tools/libraries into your program.

Just trying to reason why you would want to write a network metrics
program over again.

On Jan 11, 1:15 pm, tijo <tijotom...@gmail.comwrote:
Hi mate

i need o do a python program to connect 2 systems using TCP/IP and
UDP. Also i need to check the performance of these two protocols (how
many bytes received and how much time took). I havent worked in python
earlier and have no idea of this. Could someone pls help me. I created
a program which can connect between 2 systems using these UDP and TCP/
IP protocols. I dont know how to check the rest like how many bytes
send or how much time taken
since this is part of my course work could someone please help me
thanks in advance.

tijo
Jan 11 '08 #2
On Jan 10, 6:15 pm, tijo <tijotom...@gmail.comwrote:
Hi mate

i need o do a python program to connect 2 systems using TCP/IP and
UDP. Also i need to check the performance of these two protocols (how
many bytes received and how much time took). I havent worked in python
earlier and have no idea of this. Could someone pls help me. I created
a program which can connect between 2 systems using these UDP and TCP/
IP protocols. I dont know how to check the rest like how many bytes
send or how much time taken
since this is part of my course work could someone please help me
thanks in advance.

tijo
So you want to write a program using sockets then?

http://docs.python.org/lib/module-socket.html

Regards,
Ivan Novick
http://www.0x4849.net
Jan 11 '08 #3
Hi mate
i created the socket and the connection with tcp and udp i dont know
how to check the bytes send and time
could you help me with this

cheers
tijo
Jan 11 '08 #4
On 2008-01-11, tijo <ti********@gmail.comwrote:
Hi mate
i created the socket and the connection with tcp and udp i dont know
how to check the bytes send and time
could you help me with this
Have a look at the time or timeit modules.

Albert
Jan 11 '08 #5
Devraj wrote:
Sorry to diverge from the topic, but is there a reason you need to
develop something like again?
It's obvious, isn't it?
On Jan 11, 1:15 pm, tijo <tijotom...@gmail.comwrote:
>I dont know how to check the rest like how many bytes send or how
much time taken since this is part of my course work could
someone please help me thanks in advance.
Homework.

Regards,
Björn

--
BOFH excuse #183:

filesystem not big enough for Jumbo Kernel Patch

Jan 11 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jack Smith | last post: by
1 post views Thread by worzel | last post: by
2 posts views Thread by Willie | last post: by
1 post views Thread by Brian Gallagher | last post: by
reply views Thread by Christopher | last post: by
5 posts views Thread by oasis | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.