- 博客(1)
- 资源 (6)
- 收藏
- 关注
原创 献给面试学生 关键字const是什么意思 ESP(译者:Embedded Systems Programming) --Dan Saks概括了const的所有用法
关键字const是什么含意?答:我只要一听到被面试者说:“const意味着常数”,我就知道我正在和一个业余者打交道。去年Dan Saks已经在他的文章里完全概括了const的所有用法,因此ESP(译者:Embedded Systems Programming)的每一位读者应该非常熟悉const能做什么和不能做什么.如果你从没有读到那篇文章,只要能说出const意味着“只读”就可以了。尽管这个答
2011-06-21 15:15:00 7457 5
select模型 socket
Description:
//
// This sample illustrates how to develop a simple echo server Winsock
// application using the select() API I/O model. This sample is
// implemented as a console-style application and simply prints
// messages when connections are established and removed from the server.
// The application listens for TCP connections on port 5150 and accepts
// them as they arrive. When this application receives data from a client,
// it simply echos (this is why we call it an echo server) the data back in
// it's original form until the client closes the connection.
//
2009-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人