Skip to content

Fix multicast leave group#3929

Merged
aleks-f merged 2 commits intopocoproject:develfrom
Crivaledaz:fix-leave-group
Jan 24, 2023
Merged

Fix multicast leave group#3929
aleks-f merged 2 commits intopocoproject:develfrom
Crivaledaz:fix-leave-group

Conversation

@Crivaledaz
Copy link
Copy Markdown
Contributor

As exposed in the issue #3923, using the method leaveGroup() on a multicast socket raises an NotFoundException. This patch allows to use the same interface than the joinGroup() method. Thus, the interface exists and the exception is not raised.

I have successfully tested my patch on Fedora 37 and Windows 10, using the example given in the issue.

This pull request solves issue #3923.

@aleks-f
Copy link
Copy Markdown
Member

aleks-f commented Jan 24, 2023

@Crivaledaz can you please add a test case for this here?

@aleks-f aleks-f self-assigned this Jan 24, 2023
@aleks-f aleks-f added this to the Release 1.13.0 milestone Jan 24, 2023
@aleks-f aleks-f merged commit d4e2e00 into pocoproject:devel Jan 24, 2023
aleks-f pushed a commit that referenced this pull request Nov 27, 2023
* Fix multicast leave group

* Add test to join and leave a multicast group

Co-authored-by: Denis CLAVIER <denis.clavier@c-s.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants