RT, UNET after use, I rolled in the unit, can create a server, other clients can connect to the server, but in another computer, even not on the server, I don't know is my problem, local area network (LAN) Settings or something didn't write on the code? Is the router connection, two computers with CS can online, there was a situation is such, because open on a machine with the same port, so there can be only one client create the server, the other is not to be created, but after another computer operation and a computer to create a server at the same time, this is where I set has a problem? UNITY small white, a great god teach teach online is very urgent,,,
CodePudding user response:
I've never used UNET
General network I have is with the SOCKET itself to create a connection
After you create the server even what is the address? Won't be 127.0.0.1 that only native access
And rolled with the influence of a port is not because your connection is different, every client login time should identify a unique ID assigned by the server to do rather than by IP + port to bind