datagram
Can writes to a datagram socket ever raise SIGPIPE?
I\'m working with some code that needs to be safe against killing the caller due to SIGPIPE, but the only socket writes it\'s performing are going to datagram sockets (both UDP and 开发者_JAVA技巧Unix[详细]
2023-02-25 04:39 分类:问答Transferring file using sockets from C++ application to Java application
I\'m trying to transfer a file using sockets from a C++ application to a Java application. I wrote this simple code in C++ to send the file:[详细]
2023-02-12 16:17 分类:问答Trimming 0x00 in received DatagramPacket
In my Java app I receive DatagramPacket(s) through DatagramSocket. I know the maximum number of bytes which packet could contain, but actually every packet length varies (not exceeding max length).[详细]
2023-02-06 17:57 分类:问答How to set the format of a udp packet?
In an assignment it was required to form an ad hoc network between 2 laptops by switching the wireless LAN card in 2 laptops to the ad hoc m开发者_开发知识库ode then choosing a suitable SSID.[详细]
2023-02-06 03:57 分类:问答What is the max size of AF_UNIX datagram message in Linux?
Currently I\'m hitting a hard limit of 130688 bytes. If I try and send anything larger in one message I get a ENOBUFS error.[详细]
2023-02-05 04:13 分类:问答What's the difference between streams and datagrams in network programming?
What\'s the difference between sockets (开发者_StackOverflow中文版stream) vs sockets (datagrams)? Why use one over the other? A long time ago I read a great analogy for explaining the difference betwe[详细]
2023-02-04 12:53 分类:问答Where did datagram packet go when their destination is offline?
Are those packet simply disappear? or they waits for the destination? Or the packet go back then throws an exception?[详细]
2023-02-02 00:28 分类:问答Send Desktop stream via datagram in Java
I wan开发者_如何学JAVAt to capture the stream desktop and send it (to a client) via datagrams in Java. The following example makes a screenshot.[详细]
2023-01-28 00:20 分类:问答MediaRecorder and UDP (DatagramSocket) in Android
I am currently writing a program that is a sort of VoIP client. I am trying to establish a connection between 2 clients and send and receive data, that is recorded from microphone.[详细]
2023-01-24 19:13 分类:问答When to use WCF duplex vs datagram?
My app is master/slave system where slaves can send messages to the master based on a (local) event and master sends messages to the slave also based on local events.[详细]
2023-01-20 05:23 分类:问答