Okay, I need help with something. My friend is building a hotel and asked me to write a program for check-in/check-out and all sorts of stuff. I kind of got too much into the programming, and made things WAY to complex. ANYWAY, I have three programs, 1 for the main computer, 1 for the door locking mechanisms, and 1 for the server that all three main computers communicate to for stuff like checking room numbers, and checking in/out people to rooms. The modem on top is for the wireless door locks, but that is not my problem. My problem is that I am trying to use wired modems to transmit data to the main server. I have the server code all done, but I have NO idea how to implement it to the main code. I know the gist of it, but I keep getting confused when I try. Please help!

Main computer code: d83q6PVM
Server code: pfGinLej

Thanks for all the help! I really need it!

Yes, I'm aware I'm using FunshineX's menu. It's the easiest one for me to use, and I've grown on it.