Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PRRT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
37
Issues
37
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LARN
PRRT
Commits
16949deb
Commit
16949deb
authored
Oct 09, 2017
by
Andreas Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add app_queue_size Python property.
parent
1c3f6faa
Pipeline
#1347
passed with stages
in 2 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
prrt/prrt.pyx
prrt/prrt.pyx
+13
-0
No files found.
prrt/prrt.pyx
View file @
16949deb
...
...
@@ -96,6 +96,19 @@ cdef class PrrtSocket:
raise
Exception
(
"Not a sender."
)
cprrt
.
PrrtSocket_set_sock_opt
(
self
.
_c_socket
,
"targetdelay"
,
value
)
property
app_queue_size
:
def
__get__
(
self
):
if
not
self
.
isSender
:
raise
Exception
(
"Not a sender."
)
return
cprrt
.
PrrtSocket_get_sock_opt
(
self
.
_c_socket
,
"app_queue_size"
)
def
__set__
(
self
,
value
):
if
not
self
.
isSender
:
raise
Exception
(
"Not a sender."
)
cprrt
.
PrrtSocket_set_sock_opt
(
self
.
_c_socket
,
"app_queue_size"
,
value
)
def
recv
(
self
):
cdef
char
buffer
[
65536
]
cdef
int32_t
len
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment