Cette page fait partie de la documentation de la plate-forme d'applications Chrome, qui a été abandonnée en 2020. Les clients Enterprise et Education sur ChromeOS continueront d'y avoir accès au moins jusqu'en janvier 2025. En savoir plus sur la migration de votre application
{"name":"MySocketsapp","sockets":{"udp":{// Permission for chrome.sockets.udp.send:// The application is allowed to send udp packets// to any host:port combination."send":"*"
},"tcp":{// Permission for chrome.sockets.tcp.connect:// The application is allowed to connect only to the// tcp server on 127.0.0.1 port 80."connect":"127.0.0.1:80"
},"tcpServer":{// Permission for chrome.sockets.tcpServer.listen:// The application is allowed to accept new client// connections on the local address at port 80."listen":"127.0.0.1:80"
}},...}
Référence
udp (objet) : facultatif
La propriété de fichier manifeste udp déclare les opérations sockets.udp qu'une application peut émettre.
Type
Attribut
Description
chaîne ou tableau de chaîne
(facultatif) une liaison
Modèle hôte:port pour les opérations bind.
chaîne ou tableau de chaîne
(facultatif) envoyer
Modèle hôte:port pour les opérations send.
chaîne ou tableau de chaîne
(facultatif) multicastMembership
Modèle hôte:port pour les opérations joinGroup.
tcp (objet) : facultatif
La propriété du fichier manifeste tcp déclare les opérations sockets.tcp qu'une application peut émettre.
Type
Attribut
Description
chaîne ou tableau de chaîne
(facultatif) connecter
Modèle hôte:port pour les opérations connect.
tcpServer (objet) : facultatif
La propriété de fichier manifeste tcpServer déclare les opérations sockets.tcpServer qu'une application peut émettre.
Type
Attribut
Description
chaîne ou tableau de chaîne
(facultatif) écouter
Modèle hôte:port pour les opérations listen.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2014/01/08 (UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Il n'y a pas l'information dont j'ai besoin"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Trop compliqué/Trop d'étapes"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Obsolète"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problème de traduction"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Mauvais exemple/Erreur de code"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Autre"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Facile à comprendre"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"J'ai pu résoudre mon problème"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Autre"
}]
{"lastModified": "Derni\u00e8re mise \u00e0 jour le 2014/01/08\u00a0(UTC)."}
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2014/01/08 (UTC)."],[],[]]