阅读背景:

c / c ++ - 通过套接字发送time_t的最安全的方法

来源:互联网 

I've set up a C++ server/client environment, and am trying to send a time_t value from the server to the client (an useful thing in any server). But I'm coming accross a headache: time_t seems to not be under any size specifications. I'm wondering what is the safest (more portable) way to send time_t over the network.I've set up a C++ server/client environment, an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: