Delphi-Cross-Socket icon indicating copy to clipboard operation
Delphi-Cross-Socket copied to clipboard

在epoll里,是否可以将connectiondata挂在event_data.ptr上呢?

Open pony5551 opened this issue 3 years ago • 1 comments

QQ图片20220822213139

这样是不是就不用遍历了?

2

pony5551 avatar Aug 22 '22 13:08 pony5551

应该不行,因为ptr和fd是共享地址空间的

发自我的iPhone

在 2022年8月22日,21:35,pony5551 @.***> 写道:



[QQ图片20220822213139]https://user-images.githubusercontent.com/36391163/185933306-f2fa1be3-34d5-4d17-a009-749fa84743a5.png

这样是不是就不用遍历了?

[2]https://user-images.githubusercontent.com/36391163/185933929-05ea0222-5f88-4ed8-985d-22f29f745540.png

— Reply to this email directly, view it on GitHubhttps://github.com/winddriver/Delphi-Cross-Socket/issues/109, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYSQXPSZU3HKB7NDUFJNDTV2N6ZVANCNFSM57HWO5QA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

winddriver avatar Aug 22 '22 16:08 winddriver