473,385 Members | 1,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 882
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Sims | last post by:
Hi, Given a string $txt and an array of strings $txt_array what would be the best/fastest way to search in _insensitive_ case if $txt is in $text_array and, if it is, where is it? Because I...
6
by: Jack Smith | last post by:
Help needed on this question. Any help is appreciated. Thanks in advance. Given a binary string (i.e. a finite sequence of 0's and 1's) we choose any two digit substring 01 and replace it by a...
1
by: worzel | last post by:
Hi All, I am looking for a reg ex that will match email addresses withing <a href=mailto blah > links. Actually, I already crafted my own, but with a slight problem: <a...
2
by: Willie | last post by:
I try to setup SQL Server to work with .NET Framework Anyone here willing to help? Step By Step Help Needed. Thanks
14
by: tbird2340 | last post by:
I want to write an if / then statement and have tried using this: var MyVarMailto; if (Request.Form("LoanRequest") == "Under $250,000") { if (Request.Form("Organization") == "1") { MyVarMailto...
1
by: BHPexpert | last post by:
Regular Expression help needed -------------------------------------------------------------------------------- I want to extract all text that is contained inside the brackets after the word...
1
by: Brian Gallagher | last post by:
I have an aspnet application which I only want part of to be avaliable between the hours of 9am and 5:30pm but I dont know where to start. Help needed!
0
by: Christopher | last post by:
Urgent Help Needed: The EPVH-1.1 Visual Hull Library. Dear All, I am a student doing research in computer vision. The EPVH-1.1 Visual Hull Library will really help a lot in my research. I...
1
by: Joel Fireman | last post by:
Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4 I've been testing Joomla as a content manager for the County offices, and it looks pretty good. Unfortunately, I decided to...
5
by: oasis | last post by:
HELP NEEDED : I have developed a testing system thats generates question paper. i want to display this paper to 20 different users in a Server/Client architecture. is there any built-in function...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.