Hello,
I have been looking for DHCP code to receive a request from a remote computer. The test program is compiled with Builder 5 C++.
This how my test is illustrated:
Test Unit ------------------------------- Work Station
no Keyboard with Kbd,CRT
no CRET Borland Builder 5
10 MHz Ethernet C++
When I recycle the PXE to restart, I captured the first several two frames.
The first frames of data look okay. (as a matter of fact the PXE process works OK!)
So these two frames are "Golden Results".
I used builder, with taking from many examples, to create code that should behave as the Golden Result.
When the test code receives the frame 1 from the test unit, The workstations receives the data correctly.
Then the workstation code is to reply to Test Unit. However before the code can execute sendto(), the error 10049.
I am hoping there is problem with my code.
I can not find the problem!
Some help would surely be appreciated
DHCP_test.cpp