[ 
https://issues.apache.org/jira/browse/DIRMINA-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157373#comment-17157373
 ] 

Jonathan Valliere edited comment on DIRMINA-1128 at 7/14/20, 1:35 PM:
----------------------------------------------------------------------

You need to create a NioDatagrarmAcceptor and bind( InetAddress ) to the port 
you want to have the tester send messages to.  When you call connect() before 
bind() the port will be automatically bound to a random ephemeral address.


was (Author: johnnyv):
You need to create a NioDatagrarmAcceptor and bind( InetAddress ) to the port 
you want to have the tester send messages to.

> UDPConnector does not receive anything
> --------------------------------------
>
>                 Key: DIRMINA-1128
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1128
>             Project: MINA
>          Issue Type: Wish
>          Components: Example
>    Affects Versions: 2.0.21
>            Reporter: Alexander B
>            Priority: Major
>
> Hello guys,
>  
> I have created a simple UDP-Connector, which i reported [ here | 
> [https://stackoverflow.com/questions/62875586/mina-usage-of-datagramconnector-does-not-work]
>  ]
>  
> Can you tell me the difference between using the SocketConnector and 
> DatagramConnector and why the SocketConnector works fine, but the 
> DatagramConnector does not?
>  
> I expect, that there should be the same behaviour ... (except of the class 
> itself)
>  
> Thanks a lot
> Alex



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to