[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\u003cp\u003eThis Sockets API is only functional within the Python 2 runtime, and it's recommended to use an alternative solution before migrating to the Python 3 runtime.\u003c/p\u003e\n"],["\u003cp\u003eApp Engine supports the standard Python socket module API, but only for outbound sockets, and libraries like \u003ccode\u003epoplib\u003c/code\u003e or \u003ccode\u003enntplib\u003c/code\u003e can work if they adhere to specified limitations.\u003c/p\u003e\n"],["\u003cp\u003eSockets have specific restrictions in App Engine, including the inability to create listen sockets, blocked protocols such as FTP, and the blocking of specific IP ranges.\u003c/p\u003e\n"],["\u003cp\u003eSocket descriptors can be passed between App Engine instances, for example, from a frontend to a backend instance.\u003c/p\u003e\n"],["\u003cp\u003eBy default, \u003ccode\u003ehttplib\u003c/code\u003e uses the URL fetch API, but you can configure it to use sockets instead by setting the \u003ccode\u003eGAE_USE_SOCKETS_HTTPLIB\u003c/code\u003e environment variable in your \u003ccode\u003eapp.yaml\u003c/code\u003e file.\u003c/p\u003e\n"]]],[],null,[]]