Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string compare Pin
pnpfriend12-Jul-02 5:39
pnpfriend12-Jul-02 5:39 
GeneralRe: string compare Pin
valikac12-Jul-02 9:04
valikac12-Jul-02 9:04 
GeneralMore multi processor woes Pin
Jim Crafton12-Jul-02 4:39
Jim Crafton12-Jul-02 4:39 
GeneralRe: More multi processor woes Pin
Giles12-Jul-02 5:16
Giles12-Jul-02 5:16 
GeneralRe: More multi processor woes Pin
Jim Crafton12-Jul-02 5:41
Jim Crafton12-Jul-02 5:41 
GeneralRe: More multi processor woes Pin
l a u r e n12-Jul-02 7:47
l a u r e n12-Jul-02 7:47 
GeneralRe: More multi processor woes Pin
Giles12-Jul-02 10:46
Giles12-Jul-02 10:46 
GeneralWinsock - discovering ip address Pin
JohnnyG12-Jul-02 4:32
JohnnyG12-Jul-02 4:32 
Ok. This is different from most questions about "what is my ip address". Some background: I'm developing an application that will record data UDP broadcast or multicast from a standalone device.

Technicians will take their laptops with them when on travel from their home/office and plug it into this device's network port with a crossover cable (private LAN) to facilitate recording of data. The device can be assigned a private IP address but I don't think this is the best choice since this would require the technician to modify his existing IP address, etc. in Windows, and cause headaches when he goes back to the office. This is just an example. In some situations some technicians and others will want to record data from their desktop PCs if the data is local to their facility. Thus, I would not know their local IP addresses at these types of facilities.

I would like to program the device to reply to a message broadcast from my application (laptop) and set it's ip address accordingly. Since, the laptop and standalone device could be on two different subnets (or even nets, I think) though physically hooked up, I think I would have to send a broadcast IP message telling this device what my IP address is so that he can set his address to one within the same subnet/net, right? Or, a second option would be to pick a pre-defined IP address for the device and have my application on the laptop send it a message with it's source IP address in the IP header and have the device dynamically change it's IP address to the same subnet/net.

The device is a UNIX flavored RTOS type. I think POSIX. Don't know if there is a way to dynamically change its IP address. If anyone knows a command, please let me know. BTW, we have application source code for the device that we developed.

Any comments or suggestions? This isn't totally off-topic here since I want to know what would be the best method for performing this under Windows and if there are any alternative ways. Of course, if anyone knows UNIX or POSIX that's helpful too.


GeneralRe: Winsock - discovering ip address Pin
markkuk12-Jul-02 8:21
markkuk12-Jul-02 8:21 
GeneralRe: Winsock - discovering ip address Pin
JohnnyG13-Jul-02 15:41
JohnnyG13-Jul-02 15:41 
GeneralMarquee in visual C++ Pin
John Duffell12-Jul-02 3:58
John Duffell12-Jul-02 3:58 
GeneralRe: Marquee in visual C++ Pin
l a u r e n12-Jul-02 7:50
l a u r e n12-Jul-02 7:50 
GeneralRe: Marquee in visual C++ Pin
NormDroid12-Jul-02 23:29
professionalNormDroid12-Jul-02 23:29 
GeneralSorting items in a listctrl Pin
Niko Tanghe12-Jul-02 3:47
Niko Tanghe12-Jul-02 3:47 
GeneralRe: Sorting items in a listctrl Pin
KaЯl12-Jul-02 4:08
KaЯl12-Jul-02 4:08 
GeneralRe: Sorting items in a listctrl Pin
Mike Upton12-Jul-02 4:17
Mike Upton12-Jul-02 4:17 
GeneralRe: Sorting items in a listctrl Pin
Niko Tanghe12-Jul-02 4:54
Niko Tanghe12-Jul-02 4:54 
GeneralRe: Knowing Client Window Messages in MDI Window ... Pin
Mike Upton12-Jul-02 3:48
Mike Upton12-Jul-02 3:48 
GeneralSeems to work, but not all messages... Pin
Cursoe12-Jul-02 20:01
sussCursoe12-Jul-02 20:01 
GeneralRe: Knowing Client Window Messages in MDI Window ... Pin
Mike Upton12-Jul-02 3:52
Mike Upton12-Jul-02 3:52 
GeneralNice :))))) ... Thanks Pin
Cursoe12-Jul-02 17:14
sussCursoe12-Jul-02 17:14 
Generalto Subclass or not to Subclass ... Pin
12-Jul-02 20:49
suss12-Jul-02 20:49 
GeneralErrno and a linking problem (again...) Pin
Janine12-Jul-02 3:02
Janine12-Jul-02 3:02 
GeneralRe: Errno and a linking problem (again...) Pin
Joaquín M López Muñoz12-Jul-02 5:53
Joaquín M López Muñoz12-Jul-02 5:53 
GeneralRe: Errno and a linking problem (again...) Pin
Alexandru Savescu12-Jul-02 6:20
Alexandru Savescu12-Jul-02 6:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.