STZ128 Posted June 18, 2016 Share Posted June 18, 2016 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 Link to comment Share on other sites More sharing options...
allen2 Posted June 18, 2016 Share Posted June 18, 2016 You should look at this code project page : http://www.codeproject.com/Articles/20431/A-Small-DHCP-Server-Using-UDP-With-Asynchronous-Ca Link to comment Share on other sites More sharing options...
STZ128 Posted June 19, 2016 Author Share Posted June 19, 2016 Thanks Allen2, I will check it out! STZ128 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now