The Secure Socket Layers.Ever we use the+ operator to concatenate strings. Since 3.4, Unix domain sockets are also supported. Therefore most network sockets are Internet sockets .
The connection remains open to receive further requests. For that reason, most network sockets are Internet sockets . SSL(Secure Sockets Layer) certificates have been available for over twenty years. You may be familiar with Secure Socket Layer(SSL) encryption. For regular socket connections, there are a few strategies to take into consideration. MPI implementations typically use TCP/IP and socket connections. 此示例演示如何声明一个静态字段以保存连接字 符串:. This example shows how you can declare a static field to hold the connection string:. 我们可以看到,该套接字 是被运行恶意软件的Python进程所打开的:. We can see that this socket was opened by the Python process running the malware:. 版本5.0于2016年发布,为Web套接字 ,API模式提供支持。 Version 5.0 was released in 2016, bringing support for Web Sockets , API mode and more. ServerSocket是TCP服务器API,通常接受源于客户端套接字 的连接。 ServerSocket is a TCP server API, and will typically accept connections from client sockets . 官方的HOWTOWEB对使用Python进行套接字 编程有着更详细的说明。 The official HOWTO has a more detailed description of socket programming with Python. 其次,Unix域套接字 可以用来在进程间传递文件描述符(而不仅仅是文件的内容)。 Second, Unix domain sockets can be used to pass file descriptors between processes(not just the file's contents). Finally,当程序员未关闭套接字 或未清理内存时,可以编写清除代码。 Finally, for writing cleaner code when a programmer does not does not close a socket or clean up memory. 这是因为此服务器不监听TCP,而是监听命名管道(Windows)或UNIX域套接字 。 This is because this server does not listen on TCP, but rather on a named pipe(Windows) or UNIX domain socket . Web应用程序不能使用真正的套接字,因此,必须更改服务器以支持“Web套接字 ”相反。 Web applications can not use real sockets, so instead servers must be translated to support"web sockets ". 在向导中,选择“GeneratefromDatabase”,然后赋予默认的“Northwnd”连接字 符串。 In the wizard, select"Generate from Database" and then go with the default"Northwnd" connection string. 当你调用它们时,它们会更改文件和数据库表、将数据发送到服务器或调用操作系统以获取套接字 。 When you call them, they change files and database tables, send data to a server or call the OS to get a socket . Lines46-48:打开套接字 连接不需要被关闭,因为Python程序终止时将它们关闭。 Lines 46-48: Open socket connections don't need to be closed since Python will close them when the program terminates. 正是由于这一特性,Unix域套接字 经常被用来代替命名管道实现很多重要服务中的IPC。 Because of this property, Unix domain sockets are often used instead of named pipes to implement IPC for many important services. UNIX域套接字 知道它们在同一系统上执行,因此它们可以避免一些检查和操作(如路由); UNIX domain sockets know that they're executing on the same system, so they can avoid some checks and operations(like routing); 可使用TCP/IP或Unix域套接字 (在*nix平台)连接服务器,并可SSL安全加密。 Server connection may be made using TCP/IP or Unix Domain Sockets (on*nix platforms), and may be SSL encrypted for security. 那些深入依赖于操作系统的API,比如套接字 和任务管理,都已经在参考实现中定义了。 The APIs that are deeply dependent on the OS, like Socket and Task management, are already defined in the reference implementation. TCP和命名管道或UNIX域套接字 之间的区别是微妙的,这与accept和connect方法有关。 The difference between TCP and named pipes or UNIX domain sockets is subtle and has to do with the accept and connect methods. SSL(安全套接字 层)技术,使用的最主要的金融机构,提供保护的所有交易记录的数字加密的OptionBit。 SSL(Security Socket Layer) technology, which is used by most major financial institutions, provides OptionBit with digital encryption that protects all transactions. 因为我们正在使用流套接字 ,所以我们必须接受传入连接并设置连接队列大小。 Because we are using a stream socket , we have to advertise our willingness to accept incoming connections and set the connection queue size.
展示更多例子
结果: 76 ,
时间: 0.021
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt