Right, I made the changes. thanks
Chris
Type: Posts; User: chris24300
Right, I made the changes. thanks
Chris
Ok so I have started with my coding but I'm puzzled on writing the receiver. I have to use UDP for this so I'm using sendto() and recvfrom(), the sender loops through the file and sends out packets...
Hi,
In C, I want to take a JPG image (<10KB) and send it to another machine on my network. I just started the code yet so I'm wondering if it'll work or if someone has done something similar...
Hi,
I'm trying to write a simple test program to make some calls to a Phidgets board. I have the test app in a directory and the Phidgets files in a subdirectory. my include in my app looks like...
No, i used both the device IP (10.0.0.X) and my actual computer IPs. For some reason the destination port is lost when I'm on that specific machine as shown in my wireshark post previously.
OK now i'm really confused. I changed which computers I used as the sender/receiver and everything works perfect....
How many logs are there? I only know of the log in /var/log/messages. I just tried a sample send/receive UDP(straight from a book) using my actual machines, not external devices. The results were...
Thanks for all the responses! I'm still getting 'broken in' to linux and network programming, so please bare with me.
When I run on lo (127.0.0.1) everything works fine. It's when I use...
@Salem: Thanks, I didn't think of that. I don't have the time but I'll check it out tomorrow morning and see what's being sent.
idelovski, you mentioned there could be a problem with the client....
Hi, I have 2 programs; UDP sender and receiver. These programs are absolutely basic, trying to get the concept and understand how it works. I specify the target IP and port via arguments in the...
matsp,
Thank you for your hawk eye, I was debugging for hours and didn't realize that. That solved the issue. Can you explain to me why in main the buffer doesn't need to be set to all zeroes? Why...
Also, this is being compiled on an arm-linux machine.
OK, I already am including stdlib. By garbage I mean when it works I get two actual values, and by fails i get this instead of the two digits
183, 254 // a working value
...
I am writing code to read from the serial port on my linux machine. I go through the initialization and then when i call read(fd...) in the main function I can read the data correctly. Once I try...
Hello,
I am trying to read from a device that spits out 2 values simultaneously per line when i read from the device through cat /dev/device. These readings are split up by a comma.
Example: ...
Hello, I am trying to read from a device that spits out 2 values simultaneously per line when i read from the device through cat /dev/device. These readings are split up by a comma.
Example: ...
Right, i tried that but everything I tried didn't seem to work, maybe I screwed up the other vpath stuff I tried. I specified the directory and used the -include option flag and it returned the same...
Thanks for the responses! I forgot to mention the linux running on the machine is arm linux so I cannot use the full gcc. I have gotten my makefile to find the sources but now I cannot find the...
Hello, I am working with robotics (Koala from K-Team if it matters) and i'm trying to compile some code. The robot has arm linux on it. I am trying to use some low level calls but when I try to...
Hello, I am trying to convert from YUV to RGB. My problem is that I read in the file and I have YUV data as a unsigned char*. I do not know how to extract the Y U and V values from this char* so I...
I am also trying to do this in C.
Well after looking at the VirtualDub requirements I cannot use it. I am on a Linux machine and do not have Visual Studio 2005...
Mats, yes I searched and I have been to that website. I would be able to follow those formulas but I cannot extract my Y, U, and V so I wouldn't be able to satisfy those formula requirements.
I...
Hello, I am trying to do a conversion of a file format. I know that it is in YUV 420 Planar format, but I need to convert it RGB. I know there are all these formulas and algorithms out there, but I...
Thanks Salem. We ended up getting the correct device driver. My friend downloaded a version of the PWC library (not sure which one) and tried to get it to work but when he ran his code, it kept...