a program for Ethernet

This is a discussion on a program for Ethernet within the Networking/Device Communication forums, part of the General Programming Boards category; Hello. sorry if you see this message 2 times,I didn't know which baord is suit for my question . I ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    177

    a program for Ethernet

    Hello.
    sorry if you see this message 2 times,I didn't know which baord is suit for my question .
    I have to write a program that will be run on PCs which are connected to UDP/IP ethernet .
    this program should
    1-get the packet and shows data of it and also
    2-should get the DEST address and data from the user , makes the apcket and sends it to ethernet .
    some one told me I can do it with Visual C and some another one told :"use C# " and also one of my friends said :"just use Delphi .net ".
    which of them are better for doing that and also easier to learn - (I know C++) - ?
    cause I have just a little time (about 2 weeks)
    is there any program that has ready component for sending and recivieving UDP/IP packets ?

    Thank you

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    > sorry if you see this message 2 times,I didn't know which baord is suit for my question .
    Make a guess and post it once - if you're wrong, a mod will move it.
    As it is, you simply cause more work for mods - your other post has gone.

    > some one told me
    Yeah, now you have 3 answers and you're still stuck.
    Since you know some c++, use that.
    Start by reading the intro thread in this forum.

    > cause I have just a little time (about 2 weeks)
    Plenty of time to read beej and try some examples.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    177
    Hello .
    thanks .
    but where is intro thread in this forum ?
    do you mean
    Forum Guidelines. Read before posting ?
    I didnt know with C++ , I can send and recieve packetes . what is it's diffrent to c# and visual c for doing that ?

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Useful Links And Good Books Useful Links And Good Books
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Apr 2005
    Posts
    134
    You did not specify if you want to read all UDP packets received by the PC or just those received on some specific ports. In first case you need to use RAW sockets while in second case you need to use simple UDP sockets.

  6. #6
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    I think she wants to read the DEST address of the datalink layer, the MAC address;
    Something I would like to know myself
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 12:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 12:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 09:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21