Hi,
I would like to know about Jumbo Packets using UDP in 1 Giga etherent.
What are the delays in such system?
i think of using jumbo packets in my system because i need to transfer a lot of data between 2 computers.
i tried to find information about the delays and what are the disadvantages using jumbo packets in 1 gigabit- i didn't...
Code snippet from here:
void packet_handler(u_char *param, const struct pcap_pkthdr *header, const u_char *pkt_data)
{
....
/* retireve the position of the ip header */
ih = (ip_header *) (pkt_data +
14); //length of ethernet header
....
But this image doesn't say it's necessarily 14:
How should I do it prop...
I need to debug a winCE application over the ethernet using Visual Studio 2005. I
have connected to the device over the ethernet and now need to run
conmanclient2.exe and cmaccept.exe before I can start debugging.
However, I don't know how to copy these files over the ethernet.
Please guide me.
Thankyou!
...
I need (simple) program which allows to choose what to use to transfer data - Infiniband or Ethernet and switch them in runtime. I searched through InfiniBand docs, google and google/codeseaarch and have found nothing. Please provide program or tips where can I find such information.
EDIT: OS and language of implementation doesn't matter...
I've been looking over various internet postings and a lot of the code I've seen looks similar to this:
def mactobinar(mac):
addr = ''
temp = mac.replace(':', '')
for i in range(0, len(temp), 2):
addr = ''.join([addr, struct.pack('B', int(temp[i: i + 2], 16)))])
return addr
Can someone explain how this code w...
I am writing a networking application. It has some unxpected lags. I need to calculate some figures but I cant find an information - how many bits can be transferes through Ethernet connection at each tick.
I know that the resulting transfer rate is 100Mbps/1Gbps. But ethernet should use hardware ticks to sync both ends I suppose. So it...
Hi,
Wanted to write better AI for the game Red Alert 2. Game uses IPX protocol for multiplayer. If i'm right, IPX protocol is on Layer 2, so there is only ETH frame without destination/source IP or destination/source Port, so game is running via it's own protocol. Therefore, i could analyse this protocol and programe AI, that would simu...
Hello, I'm looking for some input on how to go about a problem I have. We have a device that has binary data that it needs to send out (they are mainly just symbols, but in a custom binary format) over ethernet. I need to intercept this data on the phone and display the symbols over google maps. I'm just wondering the best way to go abou...
I'm writing code to send raw Ethernet frames between two Linux boxes. To test this I just want to get a simple client-send and server-receive.
I have the client correctly making packets (I can see them using a packet sniffer).
On the server side I initialize the socket like so:
fd = socket(PF_PACKET, SOCK_RAW, htons(MY_ETH_PROTOCOL));...
I am doing a measurement project where I send and receive data from numerous devices on my network. The send/receive can be considered fast and intensive, as there is almost no pause and a continuous flow of data. However, the data to/from each device is quite small, on the order of a couple of bytes each. For some reason, I am experienc...
Hello,
the Ethernet II frame format does not contain a length field, and I'd like to understand how the end of a frame can be detected without it.
Unfortunately, if have no idea of physics, but the following sounds reasonable to me: we assume that Layer 1 (Physical Layer) provides us with a way of transmitting raw bits in such a way th...
How can I send a datagram with an Ethernet trailer? If I use SocketType.Raw, I'll have to send the whole IP header and I have no idea how to do that.
Here's a picture that will explain this better:
As you can see, there's no data. The "00 00 00 00 ..." is the trailer.
Thanks.
EDIT: I removed the language requirement, added a WireS...
Hi all,
I'm trying to send UDP packets from my PC to an FPGA via my laptop's ethernet cable. I've been using Java's DatagramPacket and DatagramSocket to send the UDP packets. However, these packets will only send over my laptop's wireless interface. How can I specify that the packets should go through my ethernet interface?
Thank you.
...
Hi,
I have two computers (Client/Server) transferring video frames with UDP on 1G Ethernet.
I use socket size as ~ 1.5k.
If I make less then 10ms delay between data sending there is data loss, which is very slow for me if I want live video broadcast.
If there formula to calculate time delay needed between data sending?
Can I test if HW...
The title pretty much says it all.
I'm looking for a java library that will give me access to raw Ethernet frames, both for reading and sending them. My end goal is to create a BACnet Ethernet network scanner.
Please, Note, I'm not looking for TCP\IP.
Anyone know of a good library for doing this?
...
The bits in Ethernet are transferred in LSB first fashion, but IPv4 datagram is to be transmitted in big endian byte order.
e.g.
assume an ethernet frame with destination address as 12-34-56-78-9A-BC carrying an IP datagram in the data field. As I understand following will be the order in which the bits will be transmitted:
preamble-SF...
Hi,
I have several video servers connected to each other over 1Giga bit ethernet cable.
Video clips can be send from one server to another or live broadcasting.
What best protocol should I use (UDP, TCP...) to achive real time transfering of HD video frames?
...
I was wondering if it's possible to actually print out the available ethernet cards that is present on a linux machine? I have so far read about "Grep" from the "ifconfig" command.
Do I have to use use "Net::IP" or "IO::Socket"? I am new to this programming language so can someone please give some advise on how to do this?
Sorry for c...
Edit: Answered on serverfault. Thanks!
A product I'm testing appears to freak out when it receives an ARP request with a Sender IP Address of 0.0.0.0. This is not an ARP probe, as the request is addressed to my module, and the customer's system sends the request just before it starts using its own valid IP address, which is different...
usually I use ping to determine ethernet status, like:
ping -c 1 -w 1 <ip_addr>
how could we use system call to determine ethernet status? and how could we embedded this method in java codes?
...