Home > Net > C # server and client development and communication
C # server and client development and communication
Time:10-02
Recently there is a small project, don't know where to begin!
This: to develop a data crawler software, grab a site data, but the core of the crawler all their code on the server side, c #, after all, crack too much, so I put the core code on the server side, can not crack, the client USES the registration certificate, and then extract the website of cookies, spread to the server, the server after fetching data analysis to the client and, according to
Excuse me each ace of development experience, I where to begin? Server is ali cloud! I always don't understand is: 1. The client and server, generally using at ease for data transfer? 2. If there is more than a client query data, how to deal with each user's request on the server?
Hope that philosophers give some train of thought, if there are specific examples of reference would be even better! Thank you brother
CodePudding user response:
The premise is don't know what you will, from your description, what seems to be can't service program development, it is difficult to answer,
CodePudding user response:
Actually I also is a rookie, but also are doing similar programs, so answer, also earn points, Server and client to establish a TCP socket, best with timer do heartbeat, Break automatic reconnection mechanism and application on, (I have found that even in a wireless local area network (LAN), socket communication or is broken is broken,) As for the code, you can baidu, Now write programs is to move the brick, copy some here and there to copy, with respect to OK,