验证码:够了吗?(Captcha: is it enough?)
I'm implementing re-captcha. And I'm just wondering if I have to spend some time implementing CSRF or if a captcha eliminates the need for the CSRF protection?
原文:https://stackoverflow.com/questions/21797989
满意答案
在服务器端,侦听套接字仅与本地IP和端口关联,并处于LISTEN状态。
相反,服务器上接受的套接字(以及客户端上连接的套接字)由本地IP和端口以及远程IP和端口标识,并处于ESTABLISHED状态。
在客户端,服务器使用与连接的套接字分开的侦听套接字并不重要。 当客户端从
connect
返回时,服务器已经从accept
并且从每个返回的套接字描述符可以相互通信。On the server side, the listening socket is associated with only a local IP and port and is in the LISTEN state.
In contrast, accepted sockets on the server (as well as connected sockets on the client) are identified by a local IP and port as well as a remote IP and port and is in the ESTABLISHED state.
On the client side, it doesn't matter that the server uses a listening socket separate from the connected socket. By the time the client returns from
connect
, the server has returned fromaccept
and the socket descriptors returned from each can communicate with each other.
相关问答
更多如何在jQuery .load()函数中传递Accept标头(How to pass Accept header in jQuery .load() function)
socket API接受()函数如何工作?(How does the socket API accept() function work?)
如何在jqueryui droppable中使用danymic accept值?(how to use danymic accept value in jqueryui droppable?)
函数只接受非常量左值(Having a function only accept non-const lvalues)
函数重载接受所有类型的函数(Function overloads to accept all types of function)
PHP中的!is_numeric函数不接受NULL VALUE(The !is_numeric function in PHP does not accept NULL VALUE)
accept()函数如何工作?(How does the accept() function work?)
jQuery接受的问题(issues with jQuery accept)
多次使用alert.accept()无法正常运行(Using alert.accept() multiple times does not function properly)
套接字通信中accept函数返回的值(Value returned by accept function in socket communication)
相关文章
更多微信验证码
请教怎么在CAS中添加验证码功能
简单验证码生成——Java版
jsp 验证码刷新无反应 怎么回事
请教通过手机验证码注册后台如何实现?
出轨了吗
Hadoop即将过时了吗?
儿子,谈对象了吗?
喂,上微信了吗?
javascript的验证
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!