本文介绍了发送套接字用于不同目的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 如果我有一个客户端和一个服务器程序,并且想从服务器调用不同的任务,我该怎么做?例如,如果我想将数据发送到服务器并使服务器将此数据存储在数据库中,或者我想从服务器上的数据库接收数据到客户端? 我应该写一个带有标题的数据包告诉服务器如何处理数据?或者还有其他方法吗?Hi,If I have a client and a server program and want to call different tasks from the server how would I do this? For example if I want to send data to the server and make the server store this data in a database or if I want to receive data to the client from the database on the server?Should I write a packet with a header telling the server what to do with the data? or is there other ways of doing this?推荐答案 这篇关于发送套接字用于不同目的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-05 13:17
查看更多