Remember
Register
Home
/
Support
/
Support Forum
/
can i use both tcp and udp sockets at the same time
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(387)
Python
(1,016)
RF Solutions and XBee
(8,439)
Digi TransPort
(789)
Digi Connect Cellular
(447)
DAL
(5)
Embedded Devices
(4,170)
Google Coral
(2)
Rabbit
(3,200)
Rabbit Software
(519)
Console Servers
(354)
Modbus and Industrial Automation
(246)
Realport
(603)
Serial Servers
(837)
Satellite Modules
(25)
USB
(1,273)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(93)
Other/Legacy
(377)
can i use both tcp and udp sockets at the same time
0
votes
I am trying to write code that uses tcp socket to receive data and udp socket to transmit data. The udp socket fails when I try to open it.
tcp-sockets
asked
Mar 5, 2015
in
Rabbit Software
by
john_cfa
New to the Community
(
0
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Have you defined the MAX_UDP_SOCKET_BUFFERS macro? If you don't have this done it defaults to 0.
Regards,
Peter
answered
Mar 6, 2015
by
petermcs
Veteran of the Digi Community
(
1,132
points)
Thanks for responding,
I do have the MAX_UDP_SOCKET_BUFFERS defined as 1 but I get a warning about redefining the max socket buffers when I compile. This doesn't happen when I compile the UDP examples.
Have you made sure you define MAX_UDP_SOCKET_BUFFERS before the #use "DCRTCP.lib" line in your code?
Please
log in
or
register
to add a comment.
...