Thread: cancatonating ethernet packets..

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    77

    cancatonating ethernet packets..

    I know this probably insn't the correct forum for this question but...I wanted to see if anyone could show me how to cancatonate two ethernet packets. The problem I'm running into is this:
    I have a packet that is over 2500 bytes in size. The limitation I'm running into will only allow me to send a max packet size of 1500 bytes...(I believe this is an ethernet limitation on the max allowable packet size you can send?). Is there a way to send part of it and then send the other part and then on the recieving end put the two packets back together?

    Thanks!
    JK

  2. #2
    Registered User Kybo_Ren's Avatar
    Join Date
    Sep 2004
    Posts
    136
    Doesn't TCP/IP do that automatically? I may be wrong, but I think so.

  3. #3
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Actually I believe it does.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  4. #4
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    TCP/IP acts as a stream, as far as I know - there is no distinction between 'packets' other than the perceived boundaries that you may try to emulate.

    >>will only allow me to send a max packet size of 1500 bytes...
    TCP will split and join packets for you into a stream of bytes. Of course, if you're talking about UDP or something lower level, you'll have to do all the joining up yourself. Chances are though, if you need a packet larger than the limit then you should consider revising your protocol.

    You should post this question in the Networking forum, you'll probably get better responses there.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to Write a Program in C to detect the Ethernet Cable?
    By christyyim in forum C Programming
    Replies: 1
    Last Post: 03-11-2009, 04:12 AM
  2. Accessing and editing packets of other applications
    By Inder in forum Linux Programming
    Replies: 1
    Last Post: 09-01-2006, 12:00 PM
  3. establish a connection using TCP and capture the incoming packets
    By shraddha in forum Networking/Device Communication
    Replies: 12
    Last Post: 10-22-2005, 02:15 AM
  4. question about ethernet NIC
    By arian in forum Networking/Device Communication
    Replies: 11
    Last Post: 08-19-2005, 02:57 PM
  5. Ethernet To Ethernet
    By tyler4588 in forum Tech Board
    Replies: 6
    Last Post: 07-29-2003, 07:35 AM