View Single Post
  #5   Spotlight this post!  
Unread 03-04-2016, 22:00
JohnM's Avatar
JohnM JohnM is offline
Registered User
FRC #5854 (Glitch)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: North Carolina
Posts: 53
JohnM has a spectacular aura aboutJohnM has a spectacular aura about
Re: Building ntcore with mingw

I decided to drop ntcore and just try to use a TCP socket. I want the robot to be the server and the ds to be the client. I'm using the winsock library on the Windows ds and my question was if this and this could be used for setting up a TCP socket stream with the DS. Or will I have to use regular linux socket calls. Is there any C++ examples using the WPILIB version? Also a concern of my is when I'm using the receive function will it stall the code until the server receives something?
Reply With Quote