單項選擇題WebSocket協(xié)議通常用于什么場景?()

A.加密數(shù)據(jù)傳輸
B.文件上傳
C.實時雙向通信
D.電子郵件傳輸


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題在Python中,多線程編程可以使用哪個模塊?()

A.multiprocessing
B.subprocess
C.threading
D.asyncio

2.單項選擇題在Python Socket編程中,哪個函數(shù)用于將域名轉(zhuǎn)換為IP地址?()

A.socket.gethostbyname()
B.socket.bind()
C.socket.listen()
D.socket.connect()

4.單項選擇題在Python網(wǎng)絡(luò)編程中,SOCK_DGRAM代表什么類型的socket?()

A.流套接字(TCP)
B.數(shù)據(jù)報套接字(UDP)
C.原始套接字
D.序列化套接字

5.單項選擇題在Python中,__init__.py文件的作用是什么?()

A.初始化Python程序
B.標識目錄為Python包
C.配置項目環(huán)境
D.安裝依賴包